home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Super Collection / Windows 95 Super Collection.iso / win95 / internet / rcp3217 / rcperrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-01  |  1.4 KB  |  24 lines

  1. // Errors definitions for WinsockRCP and WinsockRCP2 calls
  2.  
  3. #define ERCP_NOHOST    -1    // No host specified for either filename
  4. #define ERCP_BADUSER    -2    // Unacceptable user name before @
  5. #define ERCP_FROMHOST    -3    // Error message received from remote host
  6. #define ERCP_LOSTCONN    -4    // Lost the connection to host prematurely
  7. #define ERCP_NOMEM    -5    // Cannot allocate memory
  8. #define ERCP_NOUSER    -6    // Can't get user from Windows or WIN.INI
  9. #define ERCP_TARGET    -7    // Target is ambiguous
  10. #define ERCP_SND_TYPE    -8    // Invalid file type to send (i.e. directory)
  11. #define ERCP_NOMATCH    -9    // No match for wildcard on remote host
  12. #define ERCP_PROTOCOL    -10    // RCP Protocol Error
  13. #define ERCP_DIR_INFO    -11    // Can't get info about a directory (stat())
  14. #define ERCP_WILDCARD    -12    // Error in wildcard pattern (local)
  15. #define ERCP_SND_STAT    -13    // Can't get info about a file to send (stat())
  16. #define ERCP_SND_OPEN    -14    // Can't open a file to send (open())
  17. #define ERCP_SND_READ    -15    // Error reading file during send
  18. #define ERCP_SND_RECUR    -16    // Cannot get the filenames in a directory
  19. #define ERCP_BIGPATH    -17    // Pathname is too long
  20. #define ERCP_RCV_OPEN    -18    // Cannot open a file for writing in receive
  21. #define ERCP_RCV_SIZE    -19    // Error adjusting file size after receive
  22. #define ERCP_RCV_WRITE    -20    // Error writing file in receive (out of space?)
  23. #define ERCP_NO_HANDLES -21    // Too many instances using RCP.DLL
  24.